/ Assembly List / LJCNetCommon / NetCommon / Base64BytesToText

Namespace - LJCNetCommon


Parameters
bytes - The Base64 byte array.

Returns

The Text value.

Syntax

C#
public static String Base64BytesToText(Byte[] bytes)

Decodes a Base64 byte array to a Text value. (E)

Example

C#
using LJCNetCommon;
        
// Decodes a Base64 byte array to a Text value.
private static void Base64BytesToText()
{
  // Setup
  byte[] base64Bytes = NetCommon.TextToBase64Bytes("Text");

  // Decodes a Base64 byte array to a Text value.
  string text = NetCommon.Base64BytesToText(base64Bytes);
}

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.